﻿import QtQuick 2.12

Row {
    spacing: 1
        Repeater {
        id: rpt
        model: modelH.columnCount()
        Rectangle {
            id: rect
            width: {
             if (index == 1)
                 return 140;
             else
                 return 70;
            }
            implicitWidth: 25
            height: 25
            color: root.blendent[1]

            Text{
                text: modelH.headerData(index, Qt.Horizontal)
                horizontalAlignment: Text.AlignHCenter
                verticalAlignment: Text.AlignVCenter
                width: rect.width
                height: rect.height
                color: "white"
                font.pixelSize: 14
            }
        }
    }
}
